1f38ce
@@ -1,5 +1,5 @@
 /*
- * Copyright 2002-2014 the original author or authors.
+ * Copyright 2002-2015 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -723,8 +723,9 @@
public class PublisherCallbackChannelImpl
 						Iterator<Entry<Long, PendingConfirm>> iterator = confirms.entrySet().iterator();
 						while (iterator.hasNext()) {
 							Entry<Long, PendingConfirm> entry = iterator.next();
+							PendingConfirm value = entry.getValue();
 							iterator.remove();
-							doHandleConfirm(ack, involvedListener, entry.getValue());
+							doHandleConfirm(ack, involvedListener, value);
 						}
 					}
 				}
